OpenBuildings GenerativeComponents Help

Exercise: Using Properties and Expression to place a point

Continue in the same file.
  1. Select the ( Place Point ) tool. When a dialogue pops up asking if you would like to create a baseCS click 'yes' and select '3D Metric Design' on the next dialogue.
  2. Enter a data point (left mouse click) in the drawing view. The node point01 appears in the both the drawing view and the Graph.
  3. Right mouse click on the point node in the Graph and select Edit from the pop up menu.expression. The Node Properties dialog opens. The Node Properties dialog opens.
  4. In the Node Properties dialog, you are asked for four pieces of information and a fifth optional piece (in blue). Enter the following in the available expression fields
    1. CoordinateSystem: baseCS baseCS is automatically entered when you place nodes with the CoordinateSystem method.
    2. XTranslation: 5
    3. YTranslation: 12
    4. ZTranslation: 3
    5. Set Origin to null.
    The new point is created.
  5. The name point01 is automatically assigned to the node. You can rename the node by clicking on the node name in the Graph.
  6. On the Transaction dialog, click on "Record recent model changes as a new transaction".
    The point is added to the model.
The last step creates a new Transaction or records what you just did as a new step in the transaction file.

You can view or edit the contents of the recorded transactions by clicking on the cyan button (Edit this entire transaction list) which opens the Script Editor dialog.